import React, { Component } from 'react';
import EditMarkdown from '@/components/editMarkdown';
import ReactMarkdown  from 'react-markdown';
import Style from './style.module.scss';


export default class AddQuestion extends Component {
    state = {
        val:'![alt](http://localhost:7001/public/images/zt2infp40y_1600655572333_bg.png)'
    }
    render() {
        let {val} = this.state;
        return (
            <div className={Style['box']}>
                AddQuestion===
                <EditMarkdown></EditMarkdown>
                {val}
                <h2>我们</h2>
                {/* <ReactMarkdown source={val}></ReactMarkdown> */}
            </div>
        )
    }
}
